@import '../var.less';

.model {
  :global(.van-dialog__header) {
    padding: 16px 0;
    color: #fff;
    background: @blue;
  }
  :global(.van-sidebar-item--select::before) {
    background: @blue;
  }
  :global(.van-info) {
    color: #fff;
    background: @blue;
  }
  .model-title {
    position: relative;
    .model-title-content {
      margin: 0 48px;
      text-align: center;
    }
    .model-title-icon {
      position: absolute;
      top: 50%;
      right: 10px;
      transform: translateY(-50%);
    }
  }
  .model-form {
    padding: 24px 12px;
    .model-form-submit {
      text-align: right;
      margin-top: 16px;
      > * {
        margin: 0 8px;
      }
    }
  }
  .model-content {
    height: 260px;
    margin-bottom: 24px;
    overflow: hidden;
    display: flex;
    .model-content-list {
      flex: auto;
      height: 100%;
      overflow: auto;
    }
  }
  .model-settings {
    padding: 0px 24px 24px;
    h5 {
      margin-bottom: 0;
    }
    .model-btns {
      margin-top: 24px;
      text-align: right;
      > * {
        margin-left: 8px;
      }
    }
  }
}

.touch {
  transition: transform 0.3s;
  &:active {
    transform: scale(0.9);
  }
}
